﻿using LPLS.Commons.DBModule;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPLS.DBEntities.ConfigModels.AlarmModels.AlarmVarableCodeRuleConfigModels
{

    [DatabaseKey(DatabaseEnum.SqliteConfig)]
    [SugarTable("AlarmVarableCodeRuleConfig")]
    /// <summary>
    ///  变量代码规则=》  程序单元 配置  
    /// </summary>

    public class AlarmVarableCodeRuleConfig
    {

        /// <summary>
        /// 主键自增
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        /// <summary>
     /// 名称
     /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 类型  1.J/T   2.程序单元  3.关键元器件   4.报警等级       6.序号无并     7.并 有A、B
        /// </summary>
        public int Type { get; set; }


       



    }
}
